package com.upcode.weighing.common.constant;

/**
 * @author ZhuPengTao
 * @version 1.0
 * @date 2021年05月02日 17:33
 * @description 账单常量池
 */
public class BillConstants {

    public static final Integer CLIENT_HOUSE_BINDING = 1;//绑定房屋
    public static final Integer CLIENT_HOUSE_UNBINDING = 0;//解除绑定房屋

    /**
     * 账单状态
     */
    public static final Integer BILLING_STATE_INITIAL = 0;//初始状态
    public static final Integer BILLING_STATE_TBC = 1;//待确定
    public static final Integer BILLING_STATE_INITIAL_PAY_COST = 2;//待缴费
    public static final Integer BILLING_STATE_INITIAL_TO_CHECK = 3;//待对账
    public static final Integer BILLING_STATE_INITIAL_HAVE_CHECK = 4;//已对账
    public static final Integer BILLING_STATE_DISCARD = 5;//废弃状态
    public static final Integer BILLING_STATE_CHECK_AND_HAVE_CHECK = 6; //待对账和已对账状态，用于对账
    public static final Integer BILLING_STATE_BUJIAODAIDUIZHANG = 7; //缴费待对账
    public static final Integer BILLING_STATE_BUJIAOYIDUIZHANG = 8; //缴费已对账

    /**
     * 审核状态
     */
    public static final Integer REVIEW_STATE_INITIAL = 0;//待审核
    public static final Integer REVIEW_STATE_PASS = 1;//审核通过
    public static final Integer REVIEW_STATE_NOT_PASS = 2;//审核未通过
    /**
     * 项目类别
     */
    public static final Integer PROJECT_TYPE_RESIDENT = 1;//居民
    public static final Integer PROJECT_TYPE_RSECURITY_HOUSING = 2;//居民保障房
    public static final Integer PROJECT_TYPE_COMMERCIAL_HOUSING = 3;//非居民商业
    public static final Integer PROJECT_TYPE_HEAVY_BUYER = 4;//非居民大客户

    /**
     * 用能类型
     */
    public static final Integer ENERGY_TYPE_HEATING = 0;//供暖
    public static final Integer ENERGY_TYPE_COOLING = 1;//供冷
    public static final Integer ENERGY_TYPE_ALL = 2;//供冷供暖
    /**
     * 缴费状态
     */
    public static final Integer PAYMENT_TYPE_ALREADY_PAY_COST = 1;//已缴费
    public static final Integer PAYMENT_TYPE_NO_PAY_COST = 2;//未缴费
    /**
     * 删除状态
     */
    public static final Integer DELETE_TYPE_HAVE_DELETED = -1;//删除
    public static final Integer DELETE_TYPE_NOT_DELETE = 1;//未删除
    /**
     * 用户状态
     */
    public static final Integer ACCOUNT_SUBSCRIBER_BEHAVIOUR_START = 1;//正常状态
    public static final Integer ACCOUNT_SUBSCRIBER_BEHAVIOUR_FREEZE = 0;//冻结状态
    public static final Integer ACCOUNT_SUBSCRIBER_BEHAVIOUR_DELETE = -1;//删除状态

    /**
     * 缴费系数
     */
    public static final Integer PAY_COST_COEFFICIENT_BASICS = 1;//基础
    public static final Integer PAY_COST_COEFFICIENT_FULL_AMOUNT = 0;//全额
    public static final Integer PAY_COST_COEFFICIENT_INIT = 2; //初始
    public static final Integer PAY_COST_COEFFICIENT_REPLENISH = 3; //补缴 -- 仅用于订单表 app_pay_type字段
    /**
     * 开票类型
     */
    public static final Integer INVOICE_TYPE_PERSONAGE = 1;//个人
    public static final Integer INVOICE_TYPE_ENTERPRISE = 2;//企业
    /**
     * 废弃状态
     */
    public static final String PROJECT_SUBSCRIEBR_STATUS_ENABLE = "ENABLE";//启用状态
    public static final String PROJECT_SUBSCRIEBR_STATUS_DISCARD = "DISCARD";//废弃状态
    /**
     * 发票类型
     */
    public static final Integer MAKE_INVOICE_TYPE_REGULAR = 1;//普通发票
    public static final Integer MAKE_INVOICE_TYPE_VAT = 2;//增值税发票
    /**
     * 礼品发放说明
     */
    public static final Integer GIFT_TO_ISSUE_GRANT = 1;//已发放
    public static final Integer GIFT_TO_ISSUE_NOT_GRANT = 2;//未发放
    public static final Integer GIFT_TO_ISSUE_OUT_TIME = 3; //app端使用，已过期
    /**
     * 缴费方式
     */
    public static final Integer PAYMENT_METHOD_CASH = 1;//现金
    public static final Integer PAYMENT_METHOD_ZFB = 2;//支付宝
    public static final Integer PAYMENT_METHOD_WX = 3;//微信
    public static final Integer PAYMENT_METHOD_TRANSFER = 4;//转账
    public static final Integer PAYMENT_METHOD_POS = 5; //pos机

    /**
     * 开票状态
     */
    public static final Integer MAKE_OUT_INVOICE_TYPE_REISSUED = 1;//已开票
    public static final Integer MAKE_OUT_INVOICE_TYPE_NOT = 2;//未开票

    /**
     * 供能时长
     */
    public static final Integer SEVEN_DAY_TWENTY_FOUR = 1;//7*24小时
    public static final Integer SEVEN_DAY_TEN_HOUR = 2;//7*10小时
    /**
     * 投诉建议类型
     */
    public static final Integer COMPLAINTS_SUGGESTIONS_TYPE_0 = 0;//供能问题投诉
    public static final Integer COMPLAINTS_SUGGESTIONS_TYPE_1 = 1;//维修人员投诉
    public static final Integer COMPLAINTS_SUGGESTIONS_TYPE_2 = 2;//客服投诉
    public static final Integer COMPLAINTS_SUGGESTIONS_TYPE_3 = 3;//支付问题
    public static final Integer COMPLAINTS_SUGGESTIONS_TYPE_4 = 4;//软件故障与漏洞
    public static final Integer COMPLAINTS_SUGGESTIONS_TYPE_5 = 5;//其他

    /**
     * 投诉来源
     */
    public static final Integer SOURCE_OF_COMPLAINTS_KEFU = 0;//  客服登记
    public static final Integer SOURCE_OF_COMPLAINTS_APP = 1;//  移动端
    /**
     * 参数配置 是否是系统
     */
    public static final Integer PARAMETER_CONFIGURATION_SYSTEM_YES = 0;//是系统参数
    public static final Integer PARAMETER_CONFIGURATION_SYSTEM_NO = 1;//不是系统参数

    /**
     * 缴费渠道
     */
    public static final Integer PAYMENT_TYPE_SCENE = 0;//现场登记
    public static final Integer PAYMENT_TYPE_APP = 1;//APP

    /**
     * 地域位置 -- 用于缴费低于价格区分
     */
    public static final Integer XIAN = 0; //西安   580 分
    public static final Integer XIANYANG = 1; //咸阳 540 分
    /**
     * 缴费设置
     */
    public static final String ZHENGCHANG_JIAOFEI = "0";//正常缴费
    public static final String TINGZHI_JIAOFEI = "1";//停止缴费
    /**
     * 初始化密码
     */
    public static final String CHU_SHI_HUA_PSW = "12345678";//初始化密码为123456
    /**
     * APP账号 使用状态
     */
    public static final Integer APP_USER_STATUS_OK = 2;//正常状态
    public static final Integer APP_USER_STATUS_STOP = 1;//停用状态
    /**
     * 短信推送状态
     */
    public static final Integer DUAN_XIN_TUISONG_STATUS_START=1;//开启
    public static final Integer DUAN_XIN_TUISONG_STATUS_STOP=0;//关闭
    /**
     * 无感支付开关
     */
    public static final Integer WUGAN_ZHIFU_STATUS_START=1;//开启
    public static final Integer WUGAN_ZHIFU_STATUS_STOP=0;//关闭
    /**
     * 有无状态
     */
    public static final Integer BILLFLAG_START=1;//有账单
    public static final Integer BILLFLAG_STOP=0;//无账单
    /**
     * 冻结 启用 初始化面
     */
    public static final String ACCOUNT_STATUS_FREEZE="1";//冻结账号
    public static final String ACCOUNT_STATUS_START="2";//启用账号
    public static final String ACCOUNT_STATUS_CHUSHIHUAPWD="3";//初始化密码
    /**
     * 资源类型
     */
    public static final Integer ZI_YUAN_TYPE_CAIDAN=1;//菜单
    public static final Integer ZI_YUAN_TYPE_BUTTON=2;//按钮
    /**
     * 资源位置 PC 和 APP
     */
    public static final Integer ZI_YUAN_WEIZHI_PC=1;
    public static final Integer ZI_YUAN_WEIZHI_APP=2;
    /**
     * 性别
     */
    public static final Integer SEX_NV=0;//女
    public static final Integer SEX_NAN=1;//男
    /**
     * 支付状态
     */
    public static final Integer PAY_STATUS_DAIZHIFU=1;//待支付
    public static final Integer PAY_STATUS_ZHIFUZHONG=2;//支付中
    public static final Integer PAY_STATUS_YIZHIFU=3;//已支付
    public static final Integer PAY_STATUS_YITUIKUAN=4;//已退款
    /**
     * 缴费类型
     */
    public static final String PAY_TYPES_QUANE="1";//当年全额
    public static final String PAY_TYPES_JICHU="2";//当年基础费用
    public static final String PAY_TYPES_LINIANQIANFEI="3";//历年欠费

    /**
     * 补缴状态
     * */
    public static final Integer PAY_NOT_REPLENISH = 0; //未补缴
    public static final Integer PAY_REPLENISH = 1; //补缴

    /**
     * 返回给移动端的缴费设置标识
     */
    public static final Integer PAYABLE = 0;//正常缴费
    public static final Integer NOTPAYABLE = 1;//停止缴费

    /**
     * 退费类型
     */
    public static final Integer RETURN_TYPE_JXTN = 1;//检修停暖退费
    public static final Integer RETURN_TYPE_WDBDB = 2;//温度不达标退费

    /**
     * web端扫码支付临时保存操作人标识，用于redis中Key值的拼接
     */
    public static final String SAVE_CZR = "SAVE_CZR_";

    /**
     * 缴费周期范围
     */
    public static final Double MIN_CYCLE = 0.1d;
    public static final Double MAX_CYCLE = 4.0d;


    /**
     * 缴费记录 - 对账状态
     *   0 待对账
     *   1 通过
     *   2 不通过
     */
    public static final Integer PAY_RECORD_ACCOUNT_STATUS_ZERO = 0;
    public static final Integer PAY_RECORD_ACCOUNT_STATUS_ONE = 1;
    public static final Integer PAY_RECORD_ACCOUNT_STATUS_TOW = 2;
}
